#include <iostream>
#include <string>
#include <stack>
using namespace std;

int main(){
	string str;
	cin >> str;
	int sum = 0;
	for(int i=0; i<str.length(); i++) sum += (str[i]-'0');
	stack<int> s;
	while( sum ){
		s.push(sum%10);
		sum/=10;
	}
	string num[10] = {"zero","one","two","three","four","five","six","seven","eight","nine"};
	if( !s.empty() ){
		cout << num[s.top()];
		s.pop();
	}else cout << "zero";
	while( !s.empty() ){
		cout << " " << num[s.top()];
		s.pop();
	}
	return 0;
}
